<!DOCTYPE html>
<html >
<head>
  <meta charset="UTF-8">
  <title>登录界面</title>
  <link rel="stylesheet" href="style.css">

</head>
<body>
  <div class="form">
      
      <ul class="tab-group">
        <li class="tab active"><a href="#signup">注册</a></li>
        <li class="tab"><a href="#login">登录</a></li>
      </ul>
      
      <div class="tab-content">                 
        <div id="signup">                                
          <h1>免费注册</h1>                  
          <form action="/" method="post">         
          <div class="field-wrap">
              <label>
                用户名<span class="req">*</span>
              </label>
              <input type="text" required autocomplete="off" />
          </div>
          <div class="field-wrap">
            <label>
              邮箱地址<span class="req">*</span>
            </label>
            <input type="email"required autocomplete="off"/>
          </div>          
          <div class="field-wrap">
            <label>
              请输入密码<span class="req">*</span>
            </label>
            <input type="password" id="password" required autocomplete="off"/>
            <span id="result"></span>
          </div>          
          <button type="submit" class="button button-block"/>注册</button>         
          </form>
        </div>
        
        <div id="login">                   
          <h1>欢迎使用</h1>         
          <form action="/" method="post">         
            <div class="field-wrap">
            <label>
              邮箱地址<span class="req">*</span>
            </label>
            <input type="email"required autocomplete="off"/>
          </div>         
          <div class="field-wrap">
            <label>
              密码<span class="req">*</span>
            </label>
            <input type="password"required autocomplete="off"/>
          </div>         
          <p class="forgot"><a href="#">忘记密码?</a></p>          
          <button class="button button-block"/>登录</button>          
          </form>
        </div>        
      </div>      
   </div>   
     <script src="jquery.1.12.4.min.js"></script>    
     <script src="index.js"></script>            
</body>
</html>